﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using OVS.BusinessObjects;

namespace OVS_FormsRecognition.Manager
{
    /// <summary>
    /// 
    /// </summary>
    public class DetectEventArgs : EventArgs
    {
        /// <summary>
        /// The list haar files to detect
        /// </summary>
        public List<Image_Haar> listHaarFilesToDetect;
        public Image_Haar detectHaar;
        public Emgu.CV.Image<Emgu.CV.Structure.Bgr, byte> detectFrame;
        public Rectangle [] detectRec;
        public Objects.CameraFromMjpegDecoder camera;
        ///// <summary>
        ///// The scale factor
        ///// </summary>
        //public double scaleFactor;
        ///// <summary>
        ///// The min neighbors
        ///// </summary>
        //public int minNeighbors;
        /// <summary>
        /// Gets or sets the cam id.
        /// </summary>
        /// <value>
        /// The cam id.
        /// </value>
       public int camId {get; set; }

       /// <summary>
       /// Gets or sets the bitmap source.
       /// </summary>
       /// <value>
       /// The bitmap source.
       /// </value>
       public Bitmap bitmapSource { get; set; }

       /// <summary>
       /// Gets or sets the bitmap fromdetection.
       /// </summary>
       /// <value>
       /// The bitmap fromdetection.
       /// </value>
       public Bitmap bitmapFromdetection { get; set; }

       /// <summary>
       /// Gets or sets a value indicating whether [detect object].
       /// </summary>
       /// <value>
       ///   <c>true</c> if [detect object]; otherwise, <c>false</c>.
       /// </value>
       public bool detectObject { get; set; }
    }
}
